Added a comment
authorjkniiv <jkniiv@web>
Thu, 6 Oct 2022 06:21:40 +0000 (06:21 +0000)
committeradmin <admin@branchable.com>
Thu, 6 Oct 2022 06:21:40 +0000 (06:21 +0000)
doc/bugs/FTBFS_for_the_2nd_day/comment_1_b7278de8f98c9fd96219281d61284461._comment [new file with mode: 0644]

diff --git a/doc/bugs/FTBFS_for_the_2nd_day/comment_1_b7278de8f98c9fd96219281d61284461._comment b/doc/bugs/FTBFS_for_the_2nd_day/comment_1_b7278de8f98c9fd96219281d61284461._comment
new file mode 100644 (file)
index 0000000..ec15a2a
--- /dev/null
@@ -0,0 +1,29 @@
+[[!comment format=mdwn
+ username="jkniiv"
+ avatar="http://cdn.libravatar.org/avatar/05fd8b33af7183342153e8013aa3713d"
+ subject="comment 1"
+ date="2022-10-06T06:21:40Z"
+ content="""
+That seems to be a simple typo where the latter/duplicate definition should be named `paramRepository` instead.
+The following fixes the build:
+
+[[!format diff \"\"\"
+diff --git a/CmdLine/Usage.hs b/CmdLine/Usage.hs
+index f3434d709..65879f7c3 100644
+--- a/CmdLine/Usage.hs
++++ b/CmdLine/Usage.hs
+@@ -60,8 +60,8 @@ paramNumRange :: String
+ paramNumRange = \"NUM|RANGE\"
+ paramRemote :: String
+ paramRemote = \"REMOTE\"
+-paramRemote :: String
+-paramRemote = \"REPOSITORY\"
++paramRepository :: String
++paramRepository = \"REPOSITORY\"
+ paramField :: String
+ paramField = \"FIELD\"
+ paramGlob :: String
+\"\"\"]]
+
+Windows tests are A-OK also.
+"""]]